import axios from 'axios';

let base="http://10.2.24.239:9087";

export const POST=(url,params)=>{
    return axios.post(`${base}${url}`,params).then(res=>res.data)
}

export const GET=(url,params)=>{
    return axios.get(`${base}${url}`,{params:params}).then(res=>res.data)
}
